<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        marquee{
            width: 300px;
            height: 50px;
            background: #000;
            color: red;
            font-size: 30px;
            line-height: 50px
        }
    </style>
</head>
<body>
    <!-- html已经遗弃的标签，不推荐使用 -->
    <marquee>
        欢迎来到兵哥红浪漫~
    </marquee>
</body>
</html>